package cn.wolfcode.car.business.service;

import cn.wolfcode.car.business.domain.CarPackageAudit;
import cn.wolfcode.car.business.domain.HistoricComment;
import cn.wolfcode.car.business.query.CarPackageAuditQuery;
import cn.wolfcode.car.common.base.page.TablePageInfo;

import java.io.InputStream;
import java.util.List;

/**
 * 杨修记录接口
 */
public interface ICarPackageAuditService {


    /**
     * 查单个
     * @param id
     * @return
     */
    CarPackageAudit get(Long id);


    /**
     * 保存
     * @param CarPackageAudit
     */
    void save(CarPackageAudit CarPackageAudit);

  
    /**
     * 更新
     * @param CarPackageAudit
     */
    void update(CarPackageAudit CarPackageAudit);

    /**
     *  批量删除
     * @param ids
     */
    void deleteBatch(String ids);
    List<CarPackageAudit> list();
    TablePageInfo<CarPackageAudit>query(CarPackageAuditQuery qo);


    InputStream precessImg(Long id);

    void cancelApply(Long id);


    TablePageInfo<CarPackageAudit> todoQuery(CarPackageAuditQuery qo);

    void audit(Long id, Boolean auditStatus, String info);

    TablePageInfo<CarPackageAudit> doneQuery(CarPackageAuditQuery qo);

    TablePageInfo<HistoricComment> listHistory(String instanceId);
}
